﻿namespace GXRTBTC.WebHisDataService.Model
{
    /// <summary>
    /// 设备告警灯信息保存数据库脚本等信息
    /// </summary>
    public class SaveInfo
    {
        /// <summary>
        /// 当前是否告警
        /// </summary>
        public Boolean alarm { get; set; } = false;
        /// <summary>
        /// 是否已保存到数据库
        /// </summary>
        public Boolean hasSave { get; set; } = false;
        /// <summary>
        /// 当前小时，整点保存数据
        /// </summary>
        public int hour { get; set; } = -1;
        /// <summary>
        /// 插入数据库sql脚本
        /// </summary>
        public string insSql { get; set; } = "";
    }
}
